package com.ks.entity;

import com.ks.base.BaseEntity;

public class Exam extends BaseEntity {

    private java.lang.Integer id;//
    private java.lang.String name;// 考试名称
    private java.lang.String picture;// 封面图片
    private java.lang.String status;// 启用/关闭
    private String publish;
    private java.util.Date starttime;// 考试开始时间
    private java.lang.String questionrandom;// 试题是否随机打乱
    private java.lang.String optionrandom;// 选项是否随机打乱
    private java.lang.String address;// 考试地点
    private java.lang.String duration;// 考试时长
    private java.lang.String handahead;// 是否支持提前交卷
    private java.lang.String aheadtime;// 支持提前交卷的时间，单位分钟
    private java.lang.Integer unit;// 单位id
    private java.lang.Integer type_id;// 大类id
    private java.lang.Integer pro_id;// 专业id
    private java.lang.Integer rank_id;// 级别id
    private java.lang.Integer creater;// 创建人id
    private java.lang.Integer updater;// 修改人id
    private java.util.Date createtime;// 考试创建时间
    private java.util.Date updatetime;// 考试更新时间
    private java.lang.String extend;//

    private java.lang.String extend2;//
    public java.lang.Integer getId() {
        return this.id;
    }

    public void setId(java.lang.Integer id) {
        this.id = id;
    }

    public java.lang.String getName() {
        return this.name;
    }

    public void setName(java.lang.String name) {
        this.name = name;
    }

    public java.lang.String getPicture() {
        return this.picture;
    }

    public void setPicture(java.lang.String picture) {
        this.picture = picture;
    }

    public java.lang.String getStatus() {
        return this.status;
    }

    public void setStatus(java.lang.String status) {
        this.status = status;
    }

    public java.util.Date getStarttime() {
        return this.starttime;
    }

    public void setStarttime(java.util.Date starttime) {
        this.starttime = starttime;
    }

    public java.lang.String getQuestionrandom() {
        return this.questionrandom;
    }

    public void setQuestionrandom(java.lang.String questionrandom) {
        this.questionrandom = questionrandom;
    }

    public java.lang.String getOptionrandom() {
        return this.optionrandom;
    }

    public void setOptionrandom(java.lang.String optionrandom) {
        this.optionrandom = optionrandom;
    }

    public java.lang.String getAddress() {
        return this.address;
    }

    public void setAddress(java.lang.String address) {
        this.address = address;
    }

    public java.lang.String getDuration() {
        return this.duration;
    }

    public void setDuration(java.lang.String duration) {
        this.duration = duration;
    }

    public java.lang.String getHandahead() {
        return this.handahead;
    }

    public void setHandahead(java.lang.String handahead) {
        this.handahead = handahead;
    }

    public java.lang.String getAheadtime() {
        return this.aheadtime;
    }

    public void setAheadtime(java.lang.String aheadtime) {
        this.aheadtime = aheadtime;
    }

    public java.lang.Integer getUnit() {
        return this.unit;
    }

    public void setUnit(java.lang.Integer unit) {
        this.unit = unit;
    }

    public java.lang.Integer getType_id() {
        return this.type_id;
    }

    public void setType_id(java.lang.Integer type_id) {
        this.type_id = type_id;
    }

    public java.lang.Integer getPro_id() {
        return this.pro_id;
    }

    public void setPro_id(java.lang.Integer pro_id) {
        this.pro_id = pro_id;
    }

    public java.lang.Integer getRank_id() {
        return this.rank_id;
    }

    public void setRank_id(java.lang.Integer rank_id) {
        this.rank_id = rank_id;
    }

    public java.lang.Integer getCreater() {
        return this.creater;
    }

    public void setCreater(java.lang.Integer creater) {
        this.creater = creater;
    }

    public java.lang.Integer getUpdater() {
        return this.updater;
    }

    public void setUpdater(java.lang.Integer updater) {
        this.updater = updater;
    }

    public java.util.Date getCreatetime() {
        return this.createtime;
    }

    public void setCreatetime(java.util.Date createtime) {
        this.createtime = createtime;
    }

    public java.util.Date getUpdatetime() {
        return this.updatetime;
    }

    public void setUpdatetime(java.util.Date updatetime) {
        this.updatetime = updatetime;
    }

    public java.lang.String getExtend() {
        return this.extend;
    }

    public void setExtend(java.lang.String extend) {
        this.extend = extend;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public String getExtend2() {
        return extend2;
    }

    public void setExtend2(String extend2) {
        this.extend2 = extend2;
    }

    @Override
    public String toString() {
        return "Exam{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", picture='" + picture + '\'' +
                ", status='" + status + '\'' +
                ", publish='" + publish + '\'' +
                ", starttime=" + starttime +
                ", questionrandom='" + questionrandom + '\'' +
                ", optionrandom='" + optionrandom + '\'' +
                ", address='" + address + '\'' +
                ", duration='" + duration + '\'' +
                ", handahead='" + handahead + '\'' +
                ", aheadtime='" + aheadtime + '\'' +
                ", unit=" + unit +
                ", type_id=" + type_id +
                ", pro_id=" + pro_id +
                ", rank_id=" + rank_id +
                ", creater=" + creater +
                ", updater=" + updater +
                ", createtime=" + createtime +
                ", updatetime=" + updatetime +
                ", extend='" + extend + '\'' +
                ", extend2='" + extend2 + '\'' +
                '}';
    }
}
